package com.hsnn.medstgmini.pro.project.model;

import java.sql.Timestamp;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @category 专家抽取规则
 * @author 徐国鹏
 * @date 2015年8月26日13:50:29
 */
@Entity
@Table(name="bid_expert_extract_rule")
public class BidExpertExtractListRuleList
{

	private String ruleId;//专家抽取规则ID
	private String projId;//采购项目ID
	private String maxExtractNum;//每家医疗机构抽取最大专家数
	private String infusion;//是否大输液（0：否，1：是）
	private int execStatus;//执行状态
	private String execUser;//执行人
	private Timestamp execDatetime;//执行时间
	private int extractNum;//抽取组数
	private int status;//状态0停用1启用
	private String remarks;//备注
	private Timestamp updDateTime;//更新时间
	private String updUser;//更新人
	
	
	
	private String bidExpertTypeId;//抽取规则专家分类ID
	private String expertTypeId;//专家类型ID
	private int count;//抽取专家数量
	
	private String ruleHospTypeId;//抽取规则医疗机构分类ID
	private String hospTypeId;//医疗机构分类ID
	private String expertRate;//专家比例
	
	private String fatherRuleId;//一级专家抽取规则ID
	private List<String> expertTypeIdNotToExtract;//在该list中的专家类别不被该规则抽取
	
	
	@Id
	@Column(name="rule_id")
	public String getRuleId() {
		return ruleId;
	}
	public void setRuleId(String ruleId) {
		this.ruleId = ruleId;
	}
	
	@Column(name="exec_status")
	public int getExecStatus() {
		return execStatus;
	}
	public void setExecStatus(int execStatus) {
		this.execStatus = execStatus;
	}

	@Column(name="proj_id")
	public String getProjId() {
		return projId;
	}
	public void setProjId(String projId) {
		this.projId = projId;
	}
	
	@Transient
	public String getExpertTypeId() {
		return expertTypeId;
	}
	public void setExpertTypeId(String expertTypeId) {
		this.expertTypeId = expertTypeId;
	}
	
	@Transient
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	
	@Column(name="father_rule_id")
	public String getFatherRuleId() {
		return fatherRuleId;
	}
	public void setFatherRuleId(String fatherRuleId) {
		this.fatherRuleId = fatherRuleId;
	}
	
	@Column(name="status")
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	
	@Column(name="remarks")
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	
	@Column(name="upd_datetime")
	public Timestamp getUpdDateTime() {
		return updDateTime;
	}

	public void setUpdDateTime(Timestamp updDateTime) {
		this.updDateTime = updDateTime;
	}
    
	@Column(name="upd_user")
	public String getUpdUser() {
		return updUser;
	}

	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}
	
    @Transient
	public List<String> getExpertTypeIdNotToExtract() {
		return expertTypeIdNotToExtract;
	}

	public void setExpertTypeIdNotToExtract(List<String> expertTypeIdNotToExtract) {
		this.expertTypeIdNotToExtract = expertTypeIdNotToExtract;
	}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	@Column(name="max_extract_num")
	public String getMaxExtractNum() {
		return maxExtractNum;
	}
	public void setMaxExtractNum(String maxExtractNum) {
		this.maxExtractNum = maxExtractNum;
	}
	
	@Column(name="exec_datetime")
	public Timestamp getExecDatetime() {
		return execDatetime;
	}
	public void setExecDatetime(Timestamp execDatetime) {
		this.execDatetime = execDatetime;
	}
	
	@Column(name="extract_num")
	public int getExtractNum() {
		return extractNum;
	}
	public void setExtractNum(int extractNum) {
		this.extractNum = extractNum;
	}
	
	@Column(name="exec_user")
	public String getExecUser() {
		return execUser;
	}
	public void setExecUser(String execUser) {
		this.execUser = execUser;
	}
	@Transient
	public String getHospTypeId() {
		return hospTypeId;
	}
	public void setHospTypeId(String hospTypeId) {
		this.hospTypeId = hospTypeId;
	}
	@Transient
	public String getExpertRate() {
		return expertRate;
	}
	public void setExpertRate(String expertRate) {
		this.expertRate = expertRate;
	}
	@Transient
	public String getBidExpertTypeId() {
		return bidExpertTypeId;
	}
	public void setBidExpertTypeId(String bidExpertTypeId) {
		this.bidExpertTypeId = bidExpertTypeId;
	}
	@Transient
	public String getRuleHospTypeId() {
		return ruleHospTypeId;
	}
	public void setRuleHospTypeId(String ruleHospTypeId) {
		this.ruleHospTypeId = ruleHospTypeId;
	}

	@Column(name="infusion")
	public String getInfusion() {
		return infusion;
	}
	public void setInfusion(String infusion) {
		this.infusion = infusion;
	}
	
	
	
	
	
}
